import {createRouter,createWebHashHistory} from 'vue-router'
import Layout from "../components/layout/index.vue";
const routes = [
    {
        path: '/',
        name: 'index',
        component: () => import('@/views/index.vue')
    },
    {
        path: '/BarCharts',
        name: 'BarChart',
        component: () => import('@/views/BarCharts.vue')
    },
    {
        path: '/LineCharts',
        name: 'LineChart',
        component: () => import('@/views/LineCharts.vue')
    },
    {
        path: '/WordCloud',
        name: 'WordCloud',
        component: () => import('@/views/WordCloud.vue')
    },
    {
        path: '/ColorPicker',
        name: 'ColorPicker',
        component: () => import('@/views/ColorPicker.vue')
    }]
const router = createRouter({
    history: createWebHashHistory(),
    routes
})
export default router
